package com.glb.gilibuy.web.vo;

import com.glb.gilibuy.entity.UserOrderItem;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @Description:
 * @Author: Yingtian qian
 * @Date: 2021/8/10 11:53
 */
public class UserOrderVO {
    /**
     * 订单id
     */
    @ApiModelProperty(value = "订单id")
    private String orderId;

    /**
     * 订单项
     */
    @ApiModelProperty(value = "订单项")
    private List<UserOrderItemVO> orderItemList;

    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id")
    private String userId;

    /**
     * 总金额
     */
    @ApiModelProperty(value = "总金额")
    private BigDecimal orderPrice;

    /**
     * 收件人姓名
     */
    @ApiModelProperty(value = "收件人姓名")
    private String receiveName;

    /**
     * 收件人手机号
     */
    @ApiModelProperty(value = "收件人手机号")
    private String receivePhone;

    /**
     * 省
     */
    @ApiModelProperty(value = "省")
    private String receiveProvince;

    /**
     * 市
     */
    @ApiModelProperty(value = "市")
    private String receiveCity;

    /**
     * 区
     */
    @ApiModelProperty(value = "区")
    private String receiveRegion;

    /**
     * 详细地址
     */
    @ApiModelProperty(value = "详细地址")
    private String receiveAddressDetail;

    /**
     * 支付方式：0->未支付；1->支付宝；2->微信
     */
    @ApiModelProperty(value = "支付方式：0->未支付；1->支付宝；2->微信")
    private Integer paymentType;

    /**
     * 订单状态：0->待支付；1->已支付；2->配货完成；3->出库成功；4->交易成功；-1->手动关闭；-2->超时关闭；-3->管理员关闭
     */
    @ApiModelProperty(value = "订单状态：0->待支付；1->已支付；2->配货完成；3->出库成功；4->交易成功；-1->手动关闭；-2->超时关闭；-3->管理员关闭")
    private Integer orderState;

    /**
     * 快递单号
     */
    @ApiModelProperty(value = "快递单号")
    private String trackingNumber;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date gmtCreate;

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public List<UserOrderItemVO> getOrderItemList() {
        return orderItemList;
    }

    public void setOrderItemList(List<UserOrderItemVO> orderItemList) {
        this.orderItemList = orderItemList;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public BigDecimal getOrderPrice() {
        return orderPrice;
    }

    public void setOrderPrice(BigDecimal orderPrice) {
        this.orderPrice = orderPrice;
    }

    public String getReceiveName() {
        return receiveName;
    }

    public void setReceiveName(String receiveName) {
        this.receiveName = receiveName;
    }

    public String getReceivePhone() {
        return receivePhone;
    }

    public void setReceivePhone(String receivePhone) {
        this.receivePhone = receivePhone;
    }

    public String getReceiveProvince() {
        return receiveProvince;
    }

    public void setReceiveProvince(String receiveProvince) {
        this.receiveProvince = receiveProvince;
    }

    public String getReceiveCity() {
        return receiveCity;
    }

    public void setReceiveCity(String receiveCity) {
        this.receiveCity = receiveCity;
    }

    public String getReceiveRegion() {
        return receiveRegion;
    }

    public void setReceiveRegion(String receiveRegion) {
        this.receiveRegion = receiveRegion;
    }

    public String getReceiveAddressDetail() {
        return receiveAddressDetail;
    }

    public void setReceiveAddressDetail(String receiveAddressDetail) {
        this.receiveAddressDetail = receiveAddressDetail;
    }

    public Integer getPaymentType() {
        return paymentType;
    }

    public void setPaymentType(Integer paymentType) {
        this.paymentType = paymentType;
    }

    public Integer getOrderState() {
        return orderState;
    }

    public void setOrderState(Integer orderState) {
        this.orderState = orderState;
    }

    public String getTrackingNumber() {
        return trackingNumber;
    }

    public void setTrackingNumber(String trackingNumber) {
        this.trackingNumber = trackingNumber;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }
}
